package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import java.util.Date;
import java.util.List;

public interface OrderService {
    void submit(Order order);

    Page<Order> selectByLimit(Integer page, Integer pageSize, Long number, Date beginTime, Date endTime);

    Page<Order> selectAppHistoryByLimit(Integer page, Integer pageSize);
}
